package com.kgis.fm.flex.model.metadata
{
	import com.kgis.fm.flex.model.LifecycleModel;

	/**
	 * 
	 * @author Simon He
	 * @modify date 2012-10-09
	 * 
	 */
	[Bindable]
	[RemoteClass(alias="com.kgis.fm.platform.model.metadata.FeaturePlacementOptable")]
	public class FeaturePlacementOptable extends LifecycleModel
	{
		public function FeaturePlacementOptable()
		{
		}
		
		private var _id:int;
		private var _fcno:int;
		private var _fno:int;
		private var _cno:int;
		/**
		 * 是否必须组件
		 */
		private var _isRequired:Boolean;
		/**
		 * 是否可重复
		 */
		private var _isRepeating:Boolean;
		/**
		 * 是否自动重复
		 */
		private var _isAutorepeat:Boolean;
		private var _ordinal:int;
		private var _ctableName:String;
		private var _ctype:int;
		
		/**
		 * 是否详图
		 */
		private var _isDetail:Boolean;
		/**
		 * 主图形组件号
		 */
		private var _primaryGeoGraphicCno:int;
		/**
		 * 主属性组件号
		 */
		private var _primaryAttributeCno:int;
		/**
		 * 主详图组件号
		 */
		private var _primaryDetailCno:int;
		/**
		 * 节点数
		 */
		private var _numberOfNodes:int;
		
		
		public function get id():int {
			return _id;
		}
		
		public function set id(value:int):void {
			this._id = value;
		}
		
		public function get fno():int {
			return _fno;
		}
		
		public function set fno(value:int ):void {
			this._fno = value;
		}
		
		public function get cno():int {
			return _cno;
		}
		
		public function set cno(value:int ):void {
			this._cno = value;
		}
		
		public function get fcno():int {
			return _fcno;
		}
		
		public function set fcno(value:int ):void {
			this._fcno = value;
		}
		
		public function get ordinal():int {
			return _ordinal;
		}
		
		public function set ordinal(value:int ):void {
			this._ordinal = value;
		}
		
		public function get ctableName():String {
			return _ctableName;
		}
		
		public function set ctableName(value:String ):void {
			this._ctableName = value;
		}
		
		public function get ctype():int {
			return _ctype;
		}
		
		public function set ctype(value:int):void {
			this._ctype = value;
		}
		
		public function get primaryGeoGraphicCno():int
		{
			return _primaryGeoGraphicCno;
		}
		
		public function set primaryGeoGraphicCno(value:int):void
		{
			this._primaryGeoGraphicCno = value;
		}
		
		public function  get primaryAttributeCno():int
		{
			return _primaryAttributeCno;
		}
		
		public function set primaryAttributeCno(value:int):void
		{
			this._primaryAttributeCno = value;
		}
		
		public function get primaryDetailCno():int
		{
			return _primaryDetailCno;
		}
		
		public function set primaryDetailCno(value:int):void
		{
			this._primaryDetailCno = value;
		}
		
		public function get numberOfNodes():int {
			return _numberOfNodes;
		}
		
		public function set numberOfNodes(value:int):void {
			this._numberOfNodes = value;
		}
		
		public function get isLogical():Boolean {
			return _isDetail;
		}
		
		public function set isLogical(value:Boolean):void {
			this._isDetail = value;
		}
	}
}